home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKitArchive.mbox / mbox / 000223_misckit-reques…aska.et.byu.edu_Tue Jun 14 16:32:00 1994.msg < prev    next >
Internet Message Format  |  1994-10-30  |  5KB

  1. Return-Path: <misckit-request@alaska.et.byu.edu>
  2. Received: from alaska.et.byu.edu by darth.byu.edu (NX5.67d/NX3.0M)
  3.     id AA01385; Tue, 14 Jun 94 16:31:50 -0600
  4. Received: from NeXT.COM by alaska.et.byu.edu; Tue, 14 Jun 1994 16:31:09 -0600
  5. Received: from pulse by oz.NeXT.COM (NX5.67e/NeXT0.1-Aleph-bf)
  6.     id AA25718; Tue, 14 Jun 94 15:30:37 -0700
  7. Message-Id: <9406142230.AA25718@oz.NeXT.COM>
  8. Received: by pulse.next.com (NX5.67e/NX3.0X)
  9.     id AA01404; Tue, 14 Jun 94 15:30:36 -0700
  10. Received: by NeXT.Mailer (1.112)
  11. Content-Type: text/plain
  12. Mime-Version: 1.0 (NeXT Mail 3.3 v112)
  13. From: Ralph Zazula <Ralph_Zazula@NeXT.COM>
  14. Date: Tue, 14 Jun 94 15:30:31 -0700
  15. To: shayman@next_server.Trimark.com (Steve Hayman)
  16. Subject: Re: MiscKit idea - Project Builder Builder !
  17. Cc: misckit@alaska.et.byu.edu
  18.  
  19.  
  20. This is a great idea, Steve.  It's also very easy to implement (why, if you attended the advanced class, you'd already know how! :-).
  21.  
  22. Anyway, the basic idea is to modify the templates in:
  23.  
  24.     ProjectBuilder.app/English.lproj/project.templates
  25.  
  26. Just create a copy of ProjectBuilder and hack away at the NIB files contained in there.  I have my default Application project create an InfoPanel NIB, App NIB (with no main window!) and have all sorts of instantiated objects/connections loaded...
  27.  
  28. Great fun!  Just be sure to make the title of your menu "UNTITLED".  IB checks for this and renames the menu the same as the NIB file...
  29.  
  30. Happy hacking!
  31. Ralph
  32. ---
  33. Ralph Zazula
  34. Developer Trainer
  35. NeXT, Inc.
  36. Ralph_Zazula@next.com
  37. (415) 780-2893
  38.  
  39.  
  40. Begin forwarded message:
  41.  
  42. From: shayman@next_server.Trimark.com (Steve Hayman)
  43. Date: Tue, 14 Jun 1994 18:09:05 -0400
  44. To: misckit@alaska.et.byu.edu
  45. Subject: MiscKit idea - Project Builder Builder !
  46.  
  47. This is only peripherally related to MiscKit but I think it might
  48. get a good reception on this particular list.
  49.  
  50. Lately I find myself writing a lot of similar, small NeXTSTEP programs, and
  51. repeating this same sequence every time with only tiny differences
  52.  
  53. - use Project Builder to make a new project
  54. - open the interfaces file
  55. - add a Controller object, make it the delegate of File's Owner
  56. - unparse Controller
  57. - go back to PB, add the dbkit and misckit libraries
  58. - do the right thing to the Makefile.preamble, Makefile.postamble
  59. - think about adding an info panel and a preferences panel,
  60.     the appropriate nib files, the appropriate Controller methods,
  61.     the find panel subprocess, hook up the right menu items, etc, etc
  62. - maybe make a Document.nib, add the Document menu item, hook
  63.       up the menu items, etc etc
  64. - add the Help directory
  65.  
  66. And so on and so on.  All this basic boilerplate stuff I can do
  67. this pretty much in my sleep now but it still seems tedious and
  68. I'm always forgetting something.
  69.  
  70. So.  I had this idea.  What about a Project Builder Builder?  An app
  71. that would create a skeleton project for you, with all of these hooks
  72. already in place.  Something with all the nibs set up, some skeleton
  73. Controller and/or Document source code, the Makefiles and PB.project
  74. all ready to be compiled - so all you would have to do is dive in and
  75. start adding actual interesting features to Controller.m, instead of
  76. jumping through all these hoops.
  77.  
  78. One way you could start would just be to create a prototype project
  79. in its own directory, and then "clone" this directory every time you made
  80. a new application.  That would work and wouldn't require anything
  81. too special, but you'd still have to mess with Project Builder to set
  82. the name of the application, etc etc.  What I'd really like would be
  83. an app I could launch that would give me a panel
  84. where I could choose
  85.  
  86.     Name of this application:
  87.     Do you want DBKit stuff? [y/n]
  88.         Oracle or Sybase?
  89.     Do you want the MiscKit?  (this one is always selected :-)
  90.         Do you need the MiscKit find panel bundle?
  91.         ... or various other bundles, or libraries, or whatever ...
  92.  
  93.  
  94. etc etc.  And I hit "save", and it creates a directory with all this
  95. stuff ready to go.
  96. Anybody else think this would be really useful?   For one thing,
  97. it would be a great tool to use when teaching people NeXTSTEP
  98. programming.  Don't let them get all hung up in the mechanics of
  99. creating a brand new project, or understanding what the heck
  100. "unparse" means, right off the bat.
  101.  
  102. I may pursue this idea a bit, and I'd be interested in hearing
  103. any comments.
  104.  
  105. Regards,
  106. Steve
  107. ---
  108. Steve Hayman
  109. Steve Hayman + Associates      NeXTSTEP Consulting         Toronto, Ontario
  110. shayman@Objectario.com                                       (416) 769-8995